package com.yk.spark.service.manage.submit.api;

import com.yk.spark.model.AppModel;
import com.yk.spark.model.app.state.action.AppActionState;
import org.json.JSONArray;
import org.json.JSONObject;

import java.util.List;

/**
 * Created by Limit on 2017/8/23.
 */
public interface IAppSubmitService {

    /**
     * 提交spark app
     * @param model app实例
     * @return app提交状态
     */
    AppActionState submitSparkApp(AppModel model);
}
